angular.module('ProduceWork').config(['$stateProvider', '$urlRouterProvider',
    function($stateProvider, $urlRouterProvider) {
        $stateProvider.
            //工单上线
            state('index.MOOnline', {
                url: '/MO/Online',
                templateUrl: 'modules/ProduceWork/client/views/MOOnline.client.view.html',
                controller: 'MOOnlineController',
                access: { requiredAuthentication: true }
            }).
            state('index.MOCompleteRpt',{
                url:'/MO/CompleteRpt',
                templateUrl:'modules/ProduceWork/client/views/MOCompleteRpt.client.view.html',
                controller:'MOCompleteRptController',
                access: { requiredAuthentication: true }
            });
    }
]);
